package com.whz.workmanageol.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table
public class Course implements Serializable {
    @Id
    private String id;
    @Column
    private String coursename;
    @Column
    private String courseid;
    @Column
    private String adminid;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCoursename() {
        return coursename;
    }

    public void setCoursename(String coursename) {
        this.coursename = coursename;
    }

    public String getCourseid() {
        return courseid;
    }

    public void setCourseid(String courseid) {
        this.courseid = courseid;
    }

    public String getAdminid() {
        return adminid;
    }

    public void setAdminid(String adminid) {
        this.adminid = adminid;
    }

    @Override
    public String toString() {
        return "Course{" +
                "id='" + id + '\'' +
                ", coursename='" + coursename + '\'' +
                ", courseid='" + courseid + '\'' +
                ", adminid='" + adminid + '\'' +
                '}';
    }
}
